//
//  HPViewModel.h
//  Toyohu
//
//  Created by GuoPeng on 16/4/24.
//  Copyright © 2016年 celia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GPAFNetworking3.h"
#import "HPMsg.h"

typedef void(^Success)(void);
typedef void(^Error)(NSString *error);

@interface HPViewModel : NSObject
{
    
}

@property (nonatomic, strong)HPMsg *msg;


- (void)getData:(Success)successBlock error:(Error)error;

@end
